<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>marquee跑马灯css</title>
  <style>
    .marquee {
      letter-spacing: 0.2rem;
      font-size: 1.5rem;
      background-image: -webkit-linear-gradient(left, #fbb300, #d53e33 25%, #399953 50%, #377af5, #fbb300);
      -webkit-text-fill-color: transparent;
      -webkit-background-clip: text;
      -webkit-background-size: 200% 100%;
      -webkit-animation: maskedAnimation 4s infinite linear;
    }
    @keyframes maskedAnimation {
        0% {
            background-position: 0 0;
        }

        100% {
            background-position: -100% 0;
        }
    }
  </style>
</head>
<body>
  <div class="marquee">【LTT开发团队】分享前端最新、最实用前端技术</div>
</body>
</html>